﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="ShoppingCart.aspx.cs" Inherits="MobileUI.ShoppingCart" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main_container">
        <a href="#">
            <img src="../images/3b3e2d44-807e-4979-a23e-9affe4d1594c.jpg" width="590" /></a>
        <div style="padding: 20px">
            <div style="font-weight: bold">
                SHOPPING CART</div>
            <hr />
            <br />
            <asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
            <br /><br />
            <asp:Panel ID="pCart" runat="server">
                <asp:GridView ID="gvCart" runat="server" AutoGenerateColumns="False" CellPadding="4"
                    ForeColor="#333333" GridLines="None" Width="550px">
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <Columns>
                        <asp:BoundField DataField="Id" HeaderText="Id" />
                        <asp:BoundField DataField="Name" HeaderText="Product Name" />
                        <asp:BoundField DataField="Expr1" HeaderText="Provider" />
                        <asp:BoundField DataField="Price" DataFormatString="{0} USD" HeaderText="Price" />
                        <asp:ImageField DataImageUrlField="Image" DataImageUrlFormatString="~/images/{0}"
                            HeaderText="Image">
                            <ControlStyle Width="50px" />
                            <ItemStyle Width="50px" />
                        </asp:ImageField>
                    </Columns>
                    <EditRowStyle BackColor="#999999" />
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#E9E7E2" />
                    <SortedAscendingHeaderStyle BackColor="#506C8C" />
                    <SortedDescendingCellStyle BackColor="#FFFDF8" />
                    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                </asp:GridView>
                <br />
                <asp:Button ID="btnCheckout" OnClientClick="return confirm('Check out now with your account infomation?');" Style="width: 100px; height: 25px; border: 1px gray solid"
                    runat="server" Text="Check out" OnClick="btnCheckout_Click" />&nbsp;<asp:Button ID="btnReset"
                        Style="width: 100px; height: 25px; border: 1px gray solid" runat="server" Text="Clear"
                        OnClick="btnReset_Click" />
            </asp:Panel>
            <br />
        </div>
        <br />
    </div>
</asp:Content>
